/**********************************************************************
tft_dirver.h

***********************************************************************/
#ifdef _TFTDRVVAR
#define TFTDRV_extern 
#else 
#define TFTDRV_extern extern
#endif




typedef enum
{
	DISPLAY_VOLUME,
	DISPLAY_BRIGHTNESS,
	DISPLAY_CONTRAST,
	DISPLAY_COLOR,
	DISPLAY_RESET,
	DISPLAY_COSE,
	DISPLAY_NULL

}DISPLAY_LEVEL;


/*==============================
          osd   Message define
==============================*/


typedef enum
{
	TFT_OSD_TUNER=0,
	TFT_OSD_DVD,	
	TFT_OSD_DVDC,	
	TFT_OSD_TV,
	TFT_OSD_NAVI,
	TFT_OSD_AUX,	
	TFT_OSD_DTV,
	TFT_OSD_SD,
	TFT_OSD_XM,
	TFT_OSD_IPOD,
	TFT_OSD_USB,
	TFT_OSD_CAMERA,	
	TFT_OSD_AUX2,
	TFT_OSD_BT,
	TFT_OSD_WB,
	TFT_NUM_SOURCE,
	TFT_OSD_SOURCE_OFF,	
	TFT_OSD_SOURCE_ON,
	TFT_OSD_Attention,		
	TFT_Attention_Idle,
	TFT_Attention_OFF,
	
	TFT_OSD_MUTE,		///20	
	TFT_OSD_OFF,
	TFT_OSD_PICADJ_OPEN,
	TFT_OSD_VOLUME_OPEN,	
	TFT_OSD_SCRNADL_EXIT,	
	TFT_OSD_MCU_UPDATE,	
	TFT_OSD_PROHIBIT,	

	TFT_OSD_SHOWSTANDBY,	
	TFT_OSD_CLRSTANDBY,	
	TFT_OSD_FRSOURCE_DSP,
	TFT_OSD_TESTMENU_DSPON,
	TFT_OSD_TESTMENU_DSPTEMP,
	TFT_OSD_TESTMENU_DSOOFF,
	TFT_OSD_IDLE
}TFT_OSD_Index;



ext TFT_OSD_Index	Screen_OSD_Index;
ext uword Display_PicTimer;
ext uchar Display_VolTimer;
///ext uchar  Bright_Rst_Value;
///ext uchar  Contrast_Rst_Value;
///ext uchar  Color_Rst_Value;

ext uchar  TftStby_CloseScreen_Timer;

ext uword Test_Menu_Timer;
#if D_PANEL_DSP_NOSIGNAL_OSD
ext uchar Nosigal_Osd_Timer;
#endif
typedef enum{
	TEST_SOFT_VERSION,
	TEST_HARDWARE_VER,

	TEST_ITEM_FMLOC,
	TEST_ITEM_AMLOC,
	TEST_ITEM_FMDX,
	TEST_ITEM_AMDX,

	TEST_ITEM_END
}TEST_ITEM_INDEX;

///#define SOURCE_ITEM_W			5


///////////////////////////////////////////////////////////////////////////////////////

///extern void Tft_BackLight_Power_Ctl(bool On);
extern void Tft_Power_Ctl(bool On);
extern void Screen_Video_Mute(bool on);
extern void Osd_Disp(void);


extern void Video_Soft_Mute(bool On);
extern void Tft_Cvbs_SysCh_Reg(void);
extern void TFT_Reg_Init(void);
#if 0
extern void TFT_Display_Channel_Change(void);
extern uchar GetVInputStdInx(void);
extern void  Tft_Video_Detect(void);
extern void  Mirror_Ctl(void);
extern void Blue_Screen_Disp(bool Show);

extern void  Mute_OSD(bool on);
extern void Screen_Adj_Menu(uchar Index);
extern void Pic_Adj(uchar Dir);
#if D_PANEL_DSP_NOSIGNAL_OSD
extern void Tw88_NoSignal_Dsp(bool Dsp);
#endif
extern  void Tw88_PanelBlack(uchar on);
#endif
